/* let i = confirm("y or n");
document.write(i);
console.log(i); */

/* let b = prompt('age?',"0~99");
console.log(typeof b);
console.log(+ b);
console.log(typeof (+ b));
 */

/* open("https://gitee.com/dashboard", "csdn", "width = 200,height = 200,left = 100,top = 30");
 */

/* close(); */
let win1;
function open1() {
    win1 = open("https://gitee.com/dashboard", "csdn", "width = 200,height = 200,left = 100,top = 30");
}

function move1() {
    open1();
    win1.moveBy(100, 500);
    /* win1.focus(); */
}
let i;
function st() {
    i = setTimeout(open1, 5000);
}


function close1() {
    clearTimeout(i);
}

let p;
function gettime() {
    let now = new Date();
    let hour = now.getHours();
    let min = now.getMinutes();
    let s = now.getUTCSeconds();
    min = min > 9 ? min : '0' + min;
    hour = hour > 9 ? hour : '0' + hour;
    s = s > 9 ? s : '0' + s;
    console.log(hour + ":" + min + ":" + s);
    return 0;
}
console.log(gettime());
function get() {
    p = setInterval(gettime, 1000);
}
function clo() {
    clearInterval(p);
}

function ret() {
    history.go(-1);
}